﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" ContentType="text/xml"  %>

<data>
<% foreach (var sukien in Model) { %>
<event id="<%=sukien.MSSK%>">
<start_date><![CDATA[<%= String.Format("{0:yyyy-MM-dd HH:mm:ss}",sukien.Ngay_bat_dau) %>]]></start_date>
<end_date><![CDATA[<%= String.Format("{0:yyyy-MM-dd HH:mm:ss}",sukien.Ngay_ket_thuc) %>]]></end_date>
<text><![CDATA[<%= sukien.Noi_dung%>]]></text>
  <rec_type><![CDATA[<%= sukien.Loai_lap%>]]></rec_type>
  <event_pid><![CDATA[<%= sukien.Ket_thuc_sk%>]]></event_pid>
  <event_length><![CDATA[<%= sukien.Do_dai%>]]></event_length>
  <section_id><![CDATA[<%= sukien.MSNV%>]]></section_id>
</event>
<% } %>
</data>

